package com.zff.rental.entity.dict;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zff.rental.AppConstant;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Comment;


/**
 * 公寓户型字典
 *
 * @author HCY
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = AppConstant.TABLE_NAME_DICT_HOUSE_TYPE)
@TableName(AppConstant.TABLE_NAME_DICT_HOUSE_TYPE)
public class HouseType {
    /**
     * 户型：一室、一室一厅
     */
    @Id
    @TableId
    @Column()
    @Comment("户型：一室、一室一厅")
    private String houseType;
}
